import Layout from '@/layout/index.vue'

const ProductInstrumentRouter = {
  path: '/instrument',
  name: 'ProductInstrument',
  component: Layout,
  redirect: 'noRedirect',
  meta: {
    title: '生产工具',
    icon: 'suitcase-1',
    alwaysShow: true
  },
  children: [
    {
      path: 'deviceList',
      component: () => import('@/views/production_instrument/deviceList.vue'),
      name: 'DeviceList',
      meta: { title: '固定资产列表', noCache: false, permission: 'AAY' }
    },
    {
      path: 'qrcode',
      component: () => import('@/views/production_instrument/qrCode/index.vue'),
      name: 'QrCode',
      meta: { title: '二维码生成', noCache: false, hidden: false, permission: 'AAY' }
    },
    {
      path: 'three',
      component: () => import('@/views/production_instrument/three/index.vue'),
      name: 'Three',
      meta: { title: '三维模型', noCache: true, hidden: false }
    }
  ]
}

export default ProductInstrumentRouter
